Interface to C++

For each SOS schema, an internal representation of the schema in terms of instances of the meta classes is generated due to a successful compilation process. From this representation, a variety of interfaces is intended to be generated. This section describes the embedding of the SOS schema language into C++ (see [#!ATT89!#] or [#!GNU90!#]). In the following, it is only considered the case that as well the implementation as the tool that makes use of this implementation is written in C++. First, the structure of the C++ source files that are generated or must be provided is described. Then, for each language construct of the schema language the mapping into constructs of C++ is stated. At last, it is described how to implement methods specified in an SOS schema.



Subsections